StoreKeeper\WooCommerce\B2C\Exports\OrderExport D

Total Complexity 131
Dependencies 20
Dependents 8
Total lines 1,006
Lines of code 727
Logical lines of code 361
Comment lines 121
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
processItem()
D
23
28 208
getOrderItems()
B
32 14 115
checkOrderDifference()
A
48 9 31
processPayments()
A
47 8 37
convertWooCommerceToStorekeeperOrderStatus()
A
58 8 18
processRefunds()
S
50 6 30
doProcessRefundsWithoutIds()
S
44 4 51
shouldUpdateStatus()
S
57 6 19
removeSkippedItemsByName()
S
59 6 14
checkOrderDifferenceBySet()
S
52 5 25
getProductForOrderLine()
S
52 5 25
checkOrderDifferenceByExtra()
S
54 5 21
newSkPaymentForWcPayment()
S
54 4 19
syncPaymentToBackend()
S
57 4 17
getPaymentForRefund()
S
61 4 13
fetchShopProductId()
S
59 3 16
getStorekeeperIdBySku()
S
56 2 20
splitStreetNumber()
S
63 2 12
convertKnownGeneralException()
S
64 2 10
processPaymentsAndRefunds()
S
68 1 7
getFunctionMultiple()
S
82 1 3
isAlreadyLinkedError()
S
78 1 3
getArguments()
S
68 1 7
getMetaFunction()
S
82 1 3
getFunction()
S
82 1 3